package com.smbms.mapper;

import com.smbms.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select * from user where usercode=#{userCode} and password=md5(#{passWord})")
    User login(User user);
}

